@extends('layouts.application')
@section('content')
    <div class="admin-content">
        <div class="admin-content-body">
            <div class="am-cf am-padding am-padding-bottom-0">
                <div class="am-fl am-cf">
                    <strong class="am-text-primary am-text-lg">品牌新增</strong> /
                    <small>New Brand</small>
                </div>
            </div>

            <hr>
            <form class="am-form" method="post" action="{{route('brands.store')}}">
                {{ csrf_field() }}

                <div class="am-g am-margin-top">
                    <div class="am-u-sm-4 am-u-md-2 am-text-right">
                        品牌名称
                    </div>
                    <div class="am-u-sm-8 am-u-md-4" >
                        <input type="text" class="am-input-sm" name="name" placeholder="请输入品牌名称">
                    </div>
                    <div class="am-hide-sm-only am-u-md-6">*必填，不可重复</div>
                </div>


                <div class="am-g am-margin-top">
                    <div class="am-u-sm-4 am-u-md-2 am-text-right">
                        缩略图
                    </div>
                    <div class="am-u-sm-8 am-u-md-4">
                        <input type="text" class="am-input-sm" name="thumb" placeholder="请插入缩略图">
                    </div>
                    <div class="am-hide-sm-only am-u-md-6"></div>
                </div>

                <div class="am-g am-margin-top">
                    <div class="am-u-sm-4 am-u-md-2 am-text-right">
                        是否显示
                    </div>
                    <div class="am-u-sm-8 am-u-md-4">
                        <input type="radio" name="is_show" value="1" /> 是
                        <input type="radio" name="is_show" value="0" /> 否
                    </div>
                    <div class="am-u-sm-12 am-u-md-6"></div>
                </div>

                <div class="am-g am-margin-top-sm">
                    <div class="am-u-sm-12 am-u-md-2 am-text-right admin-form-text">
                        内容描述
                    </div>
                    <div class="am-u-sm-12 am-u-md-10">
                        <textarea rows="10" name="description" placeholder="请使用富文本编辑插件"></textarea>
                    </div>
                </div>
                <div class="am-margin">
                    <button type="submit" class="am-btn am-btn-primary am-btn-xs">提交保存</button>
                    <button type="button" class="am-btn am-btn-primary am-btn-xs">放弃保存</button>
                </div>


            </form>
        </div>

        <footer class="admin-content-footer">
            <hr>
            <p class="am-padding-left">© 2014 AllMobilize, Inc. Licensed under MIT license.</p>
        </footer>
    </div>
@endsection





